package cate.common.table.position;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

@NoteClass("自选属性等级")
public class PosAttrLevelSheet extends ESheet<PosAttrLevelRow> {

    @Override
    public String getSheetName() {
        return "自选属性等级";
    }


    public PosAttrLevelRow findRow(int attrTid, int level) {
        for (PosAttrLevelRow row : this.getList()) {
            if (row.attrTid == attrTid && row.level == level) {
                return row;
            }
        }
        return null;
    }

}